#ifndef _EX_DFLASH_H
#define _EX_DFLASH_H
   
#if DFLASH_AT45_USE

#define  ExDflash_Page_Size    264


#define ExDflash_CS_Enable()  	EX_DFLASH_CS_EN()

#define ExDflash_CS_Disable()  	EX_DFLASH_CS_DISEN()


extern uint64_t ExDflash_NOR_ReadID(void);
extern void ExDflash_NOR_Pageprogram(uint8_t* pBuffer, uint32_t WriteAddr, uint16_t NumByteToWrite);
extern void ExDflash_NOR_Read(uint8_t* pBuffer, uint32_t ReadAddr, uint16_t NumByteToRead);
extern void ExDflash_NOR_ChipErase(void);

#endif

#endif // __ExDflash_SPI_H__
